package com.hlingsoft.kkh.entity;

import java.util.Date;

/**
 * Created by Administrator on 2015/1/14.
 */
public class AppUser {
    private long id;
    private String udId;
    private String phone;
    private String weChatId;
    private String name;
    private String address;
    private String signature;
    private String interestIds;  //兴趣
    private long professionId;   //职业
    private String headImage;
    private long gender;   //0.男 1.女
    private Double latitude;
    private Double longitude;
    private Date createTime;
    private Date updateTime;
    private long fansCount;         //粉丝数
    private long attentionsCount;   //关注数
    private long eventsCount;       //活动数
    private long imagesCount;       //图片数
    private int isFocus;          //是否关注 0.已关注;1.未关注;2.互相关注(相互关注是可以进行私聊)
    private int type;
    private Double distance;
    private int isHot;          //是否是达人
    private int available;      //是否在用
    private String isIn;
    private long likesCount;
    private int isLike;          //关注关系
    private int isNew;           //是否新用户
    private String interests;
    private String profession;
    private int collectCount;

    public int getCollectCount() {
        return collectCount;
    }

    public void setCollectCount(int collectCount) {
        this.collectCount = collectCount;
    }

    public int getIsHot() {
        return isHot;
    }

    public void setIsHot(int isHot) {
        this.isHot = isHot;
    }

    public String getInterests() {
        return interests;
    }

    public void setInterests(String interests) {
        this.interests = interests;
    }

    public String getProfession() {
        return profession;
    }

    public void setProfession(String profession) {
        this.profession = profession;
    }

    public int getIsNew() {
        return isNew;
    }

    public void setIsNew(int isNew) {
        this.isNew = isNew;
    }

    public int getIsLike() {
        return isLike;
    }

    public void setIsLike(int isLike) {
        this.isLike = isLike;
    }



    public long getLikesCount() {
        return likesCount;
    }

    public void setLikesCount(long likesCount) {
        this.likesCount = likesCount;
    }

    public String getIsIn() {
        return isIn;
    }

    public void setIsIn(String isIn) {
        this.isIn = isIn;
    }

    public int getAvailable() {
        return available;
    }

    public void setAvailable(int available) {
        this.available = available;
    }

    public String getInterestIds() {
        return interestIds;
    }

    public void setInterestIds(String interestIds) {
        this.interestIds = interestIds;
    }

    public long getProfessionId() {
        return professionId;
    }

    public void setProfessionId(long professionId) {
        this.professionId = professionId;
    }

    public Double getDistance() {
        return distance;
    }

    public void setDistance(Double distance) {
        this.distance = distance;
    }

    public String getUdId() {
        return udId;
    }

    public void setUdId(String udId) {
        this.udId = udId;
    }

    public int getType() {
        return type;
    }

    public void setType(int type) {
        this.type = type;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public int getIsFocus() {
        return isFocus;
    }

    public String getAddress() {
        return address;
    }

    public void setAddress(String address) {
        this.address = address;
    }

    public String getSignature() {
        return signature;
    }

    public void setSignature(String signature) {
        this.signature = signature;
    }

    public void setIsFocus(int isFocus) {
        this.isFocus = isFocus;
    }

    public long getFansCount() {
        return fansCount;
    }

    public void setFansCount(long fansCount) {
        this.fansCount = fansCount;
    }

    public long getAttentionsCount() {
        return attentionsCount;
    }

    public void setAttentionsCount(long attentionsCount) {
        this.attentionsCount = attentionsCount;
    }

    public long getEventsCount() {
        return eventsCount;
    }

    public void setEventsCount(long eventsCount) {
        this.eventsCount = eventsCount;
    }

    public long getImagesCount() {
        return imagesCount;
    }

    public void setImagesCount(long imagesCount) {
        this.imagesCount = imagesCount;
    }

    public String getHeadImage() {
        return headImage;
    }

    public void setHeadImage(String headImage) {
        this.headImage = headImage;
    }

    public String getWeChatId() {
        return weChatId;
    }

    public void setWeChatId(String weChatId) {
        this.weChatId = weChatId;
    }

    public Double getLatitude() {
        return latitude;
    }

    public void setLatitude(Double latitude) {
        this.latitude = latitude;
    }

    public Double getLongitude() {
        return longitude;
    }

    public void setLongitude(Double longitude) {
        this.longitude = longitude;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public long getGender() {
        return gender;
    }

    public void setGender(long gender) {
        this.gender = gender;
    }


    @Override
    public boolean equals(Object obj) {
        AppUser s=(AppUser)obj;
        return  id==s.id;
    }

    @Override
    public int hashCode() {
        String in = id+"";
        return in.hashCode();
    }
}
